package cs340.stormtroopers.hypeerweb;

import java.io.ObjectStreamException;
import java.io.Serializable;

public class NullNode extends Node implements Serializable
{
	public NullNode()
	{
		super();
		invalid(this);
	}
	
	protected Object writeReplace() throws ObjectStreamException
	{
		return new NullNodePseudoProxy();
	}

	public boolean addDownPointer(Node downPointer)
	{
		return false;
	}

	public boolean removeDownPointer(Node downPointer)
	{
		return false;
	}

	public boolean addNeighbor(Node neighbor)
	{
		return false;
	}

	public boolean addUpPointer(Node upPointer)
	{
		return false;
	}

	public boolean removeNeighbor(Node neighbor)
	{
		return false;
	}

	public boolean removeUpPointer(Node upPointer)
	{
		return false;
	}

	public boolean setConnections(Connections connections)
	{
		return false;
	}

	public boolean setFold(Node newFold)
	{
		return false;
	}

	public boolean setInverseSurrogateFold(Node newInverseSurrogateFold)
	{
		return false;
	}

	public boolean setSurrogateFold(Node newSurrogateFold)
	{
		return false;
	}

	public boolean setWebId(WebId webId)
	{
		return false;
	}

	public void printFold()
	{
	}

	public boolean addToHyPeerWeb(Node newNode)
	{
		return false;
	}

	public boolean removeFromHyPeerWeb()
	{
		return false;
	}

	public boolean equals(Object other)
	{
		return this == other;
	}

	public boolean accept(Visitor visitor, Parameters parameters)
	{
		return false;
	}
}
